package entity

import (
	"example.com/m/v2/internal/interfaces/dto"
)

type GameInfo interface {
	GetAppId() int64
	Update(dto *dto.UpdateGameInfoDto) (bool, error)
	Convert2Dto() *dto.GameInfoDto
}

type GameInfoEntity struct {
	Id          int64
	Name        string
	Description string
	// unique secret for an app
	AppSecret  string
	CreateTime int64
	UpdateTime int64
}
